package jdly.water.api.dao.base;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import jdly.water.entity.base.TCollector;

public interface CollectorDao extends JpaRepository<TCollector,String> {
	
	@Query(value=" SELECT c FROM TCollector c WHERE c.dtuTel = :tel")
	public List<TCollector> findByTel(@Param("tel") String tel );
	
}
